<?php TPL::output('global/header.tpl.htm'); ?>
<div class="bd">
  <div class="tommy_rightDiv">
    <ul style="border:none;" class="i_lsitecontents cl" id="i_tabs">
	    <li <?php if (!$_GET['category']) { ?> class="cur"<?php } ?>>
				<a href="home/<?php echo $_GET['act']; ?>/">全部</a></li>
		    <?php if(is_array($this->content_category)) { ?>
		    <?php foreach ($this->content_category as $key => $val) { ?>			
				<li<?php if ($_GET['category'] AND ($val['id'] == $this->category_info['id'])) { ?> class="cur"<?php } ?>><a href="home/<?php echo $_GET['act']; ?>/category-<?php echo $val['id'];?>" onclick="if ($('a[name=category_<?php echo $val['id'];?>]').val('name')) { $.scrollTo(($('a[name=category_<?php echo $val['id'];?>]').offset()['top'] - 10), 600, {queue:true}); return false; }"><?php echo $val['title']; ?></a></li>
			<?php } ?>
			<?php } ?>	 
    </ul>
  </div>
  <div class="contant_left readns_discus default_topic_piazza">
    <h2 class="c_title"> <img src="<?php echo G_STATIC_URL;?>/css/default/img/hot_user_title.png" style="vertical-align:middle;margin-right:5px;">热门用户 - <?php if($this->category_info['title']){ echo $this->category_info['title'];}else{?>全部<?php }?></h2>
    <div class="Lister_attentionPersonal">
      <ul class="Lister_attentionPersonal">
<?php foreach($this->hot_users as $key => $val) { ?>
        <li> <a class="a" href="people/<?php echo $val['user_info']['user_name']; ?>"> <img rel="<?php echo $val['uid'];?>" onmouseover="eventsMouseM(this);" alt="静水流声" title="" src="<?php echo get_avatar_url($val['uid'],'mid',$val['user_info']['avatar_file']); ?>"></a> 
<?php if($this->user_id!=$val['uid']){ ?>		
<span class="span <?php if ($val['focus']){?> cur <?php }?>"  onclick="follow_people($(this), $(this), <?php echo $val['uid']; ?>); return false;"><?php if ($val['focus']) { ?>取消<?php } ?>关注</span>
<?php } ?>		
		 <big><a rel="<?php echo $val['uid'];?>" onmouseover="eventsMouseM(this);" href="people/<?php echo $val['user_info']['user_name']; ?>"><?php echo $val['user_info']['user_name']; ?></a> &nbsp;&nbsp;  <?php echo cjk_substr($val['user_info']['signature'], 0, 30, 'UTF-8', '...'); ?></big>
		<div class="default_xjr">
      	<span class="xjr default_prestige b">威望：<b class="x"><?php echo $val['user_info']['reputation'];?></b></span> &nbsp;&nbsp; <span class="xjr xjr_zt">赞同：<b><?php echo $val['user_info']['agree_count'];?></b></span> &nbsp;<span class="xjr xjr_gx">感谢：<b><?php echo $val['user_info']['thanks_count'];?></b> </span></div>
          <p class="x_tic">擅长话题：
<?php if($val['reputation_topics']){ ?>		  
<?php foreach($val['reputation_topics'] as $t_key=>$t_val){ ?>
<a href="topic/<?php echo $t_val['topic_title']; ?>" class="topic" title="<?php echo $t_val['topic_title']; ?>" onmouseover="eventstalk(this);" rel="<?php echo $t_val['topic_id']; ?>"><?php echo $t_val['topic_title']; ?></a>
<?php } ?>
<?php } ?>
</p>
        </li>
<?php } ?>
  
      </ul>
    </div>
		<div class="clear"></div>
		<?php echo $this->pagination; ?>
  </div>
</div>

<?php TPL::output('global/footer.tpl.htm'); ?>